﻿namespace Microsoft.SharePoint.Client
{
    using System;
    using System.Net;

    public class WebRequestEventArgs : EventArgs
    {
        private HttpWebRequest m_webRequest;

        public WebRequestEventArgs(HttpWebRequest webRequest)
        {
            if (webRequest == null)
            {
                throw new ArgumentNullException("webRequest");
            }
            this.m_webRequest = webRequest;
        }

        public HttpWebRequest WebRequest
        {
            get
            {
                return this.m_webRequest;
            }
        }
    }
}

